package com.qinglei.recoup.hmp.pojo.vo.healthReport;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 最爱学英语的cxd
 * @slogan: 一入代码深似海，从此红尘是路人
 * @create: 2022-02-16
 **/
@Data
@ApiModel(description = "睡眠详情")
public class SmDetailVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "睡眠得分")
    private Long sleepScore;

    @ApiModelProperty(value = "睡眠评价")
    private String sleepComment;

    @ApiModelProperty(value = "睡眠比率")
    private Integer sleepProportion;

    @ApiModelProperty(value = "正向报告")
    private String positiveResult;

    private Integer resultFlag;  //数据解析标志位(0:数据解析成功；1:整晚 在床时间过短；2:数据异常,算法不进行 解算；大于10的数值是丢包率太高 ）

    @ApiModelProperty(value = "活力指数")
    private HealthReportSleepVO vitality;

    @ApiModelProperty(value = "情绪指数")
    private HealthReportSleepVO morale;

    @ApiModelProperty(value = "跌倒指数")
    private HealthReportSleepVO fall;

    @ApiModelProperty(value = "睡眠时长")
    private HealthReportSleepVO sleepLenValidMin;

    @ApiModelProperty(value = "离床时长")
    private HealthReportSleepVO outBedDuration;

    @ApiModelProperty(value = "离床次数")
    private HealthReportSleepVO outBedNum;

    @ApiModelProperty(value = "睡眠呼吸")
    private HealthReportSleepVO sleepBreath;

    @ApiModelProperty(value = "睡眠效率")
    private HealthReportSleepVO sleepEfficiency;

    @ApiModelProperty(value = "深睡时长")
    private HealthReportSleepVO deepSleepDuration;

    @ApiModelProperty(value = "浅睡时长")
    private HealthReportSleepVO lightSleepDuration;

    @ApiModelProperty(value = "清醒时长")
    private HealthReportSleepVO clearSleepDuration;

    @ApiModelProperty(value = "体动次数")
    private HealthReportSleepVO turnOverNum;

    @ApiModelProperty(value = "负面报告列表")
    private List<HealthReportInfoVO> negativeList;

    @ApiModelProperty(value = "上床时间 格式：20:00")
    private String getBedTime;

    @ApiModelProperty(value = "入睡时间 格式：20:00")
    private String beginTime;

    @ApiModelProperty(value = "入睡时间 格式：20:00")
    private Boolean isBeginTime;

    @ApiModelProperty(value = "晨醒时间 格式：05:49")
    private String endTime;

    @ApiModelProperty(value = "起床时间 格式：05:58")
    private String leaveBedTime;

    @ApiModelProperty(value = "睡眠总时长")
    private String sleepDuration;

}
